#include <stdio.h>
#include <stdlib.h>
#include<assert.h>
typedef int BTDataType;
typedef struct BinaryTreeNode
{
   struct BinaryTreeNode* left;
   struct  BinaryTreeNode* right;
    BTDataType data;
}BTNode;

BTNode* BuyNode(BTDataType x);
BTNode* CreatBinaryTree();
void PreOrder(BTNode* root);//前序
void InOrder(BTNode* root);//中序
void PostOrder(BTNode* root);//后序
int BinaryTreeSize(BTNode* root);//节点个数
int BTreeHeight(BTNode* root);//树的深度
int BinaryTreeLeafSize(BTNode* root);//叶子节点个数
int BinarySizeLevelKSize(BTNode* root,int k);//第k层节点个数
//BTNode* BinaryTreeFind(BTNode* root,BTDataType x);//查找节点为x的节点
